package com.chinacoal.hr.levelapi.client.fallback;

import com.chinacoal.hr.levelapi.client.AttendanceTaskClient;
import com.chinacoal.hr.levelapi.client.response.Result;
import com.chinacoal.hr.levelapi.client.response.ResultCode;
import com.chinacoal.hr.levelapi.client.response.ResultGenerator;

/**
 * Created by jinyabin on 2020/10/29.
 */
public class AttendanceTaskClientFallback implements AttendanceTaskClient {
    @Override
    public Result getTaskInfo(String bizCode, String bizID) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }
}
